package ED2;

import java.awt.Color;
import java.awt.Paint;

public final class Vertex extends AlunoBean
{   
    public static final Paint DEFAULT_COLOR = Color.RED;
    
    private Paint color;
    
    public Vertex()
    {
        super();
        
        color = DEFAULT_COLOR;
    }
    
    public Vertex(AlunoBean aluno)
    {
        super(aluno.getRm(), aluno.getvizinhoRm());
        
        color = DEFAULT_COLOR;
    }
    
    public Paint getColor()
    {
        return color;
    }
    
    public void setColor(Paint color)
    {
        this.color = color;
    }
}
